home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / 3DTOSHI2.ZIP / mpgfx / include / stdgfx.h < prev   
Encoding:
C/C++ Source or Header  |  1996-04-22  |  2.8 KB  |  113 lines

  1.  
  2. // stdgfx.h
  3. //
  4. // Copyright (c) 1996 by Toshiaki Tsuji, all rights reserved.
  5.  
  6. #ifndef __STDGFX_H__
  7. #define __STDGFX_H__
  8.  
  9.   #if defined (__FORMFC__)
  10.     #include <afxwin.h>
  11.   #elif defined (__FOROWL__)
  12.     #include <owl/owlall.h>
  13.   #endif
  14.  
  15.   // Platform Options
  16.   #if defined (__FORDOS16__)
  17.     #define __FORDOS__
  18.     #define __16BIT__
  19.     #define __FORx86__
  20.   #elif defined (__FORDOS4GW__)
  21.     #define __FORDOS__  
  22.     #define __32BIT__
  23.     #define __FORx86__
  24.   #elif defined (__FORDOSPWPK32__)  // Borland Power Pack 32 Bit
  25.     #define __FORDOS__
  26.     #define __FORPOWERPACK__
  27.     #define __32BIT__
  28.     #define __FORx86__
  29.   #elif defined (__FORDOSPWPK16__)  // Borland Power Pack 16 Bit
  30.     #define __FORDOS__  
  31.     #define __FORPOWERPACK__
  32.     #define __16BIT__
  33.     #define __FORx86__
  34.   #elif defined (__FORDOSTNT__)
  35.     #define __FORDOS__  
  36.     #define __32BIT__
  37.     #define __FORx86__
  38.   #elif defined (__FORWIN16__)   // For Windows 3.0+
  39.     #define __FORWINDOWS__
  40.     #define __16BIT__
  41.     #define __FORx86__
  42.     #ifndef _WIN32
  43.       #define _WIN32
  44.     #endif  
  45.   #elif defined (__FORWIN32s__)  // For Win32s
  46.     #define __FORWINDOWS__
  47.     #define __32BIT__
  48.     #define __FORx86__
  49.     #ifndef _WIN32
  50.       #define _WIN32
  51.     #endif  
  52.   #elif defined (__FORWIN32__)   // For Windows 95, NT
  53.     #define __FORWINDOWS__
  54.     #define __32BIT__
  55.     #define __FORx86__
  56.   #elif defined (__FORWIN386__)  // Watcom Extender
  57.     #define __FORWINDOWS__
  58.     #define __32BIT__
  59.     #define __FORx86__
  60.   #elif defined (__FOROS2__)
  61.     #define __32BIT__
  62.     #define __FORx86__
  63.   #elif defined (__FORUNIX__)
  64.     #define __32BIT__
  65.     #if defined (__FORMOTIF__)
  66.       #include <Xm/Xm.h> 
  67.     #else 
  68.       #include <X11/Xlib.h> 
  69.       #include <X11/Xutil.h> 
  70.       #include <X11/Xresource.h>
  71.     #endif 
  72.   #endif
  73.  
  74.   // Compiler Options
  75.   #if defined (__FORWATCOM__)
  76.     #include <i86.h>
  77.     #include <mem.h>
  78.     #if defined (__FORWINDOWS__)
  79.       #define INCLUDE_COMMDLG_H
  80.       #define INCLUDE_CUSTCNTL_H
  81.       #define INCLUDE_DDE_H
  82.       #define INCLUDE_DDEML_H
  83.       #define INCLUDE_DRIVINIT_H
  84.       #define INCLUDE_LZEXPAND_H
  85.       #define INCLUDE_OLE_H
  86.       #define INCLUDE_PENWOEN_H
  87.       #define INCLUDE_PRINT_H
  88.       #define INCLUDE_SHELLAPI_H
  89.       #define INCLUDE_STRESS_H
  90.       #define INCLUDE_TOOLHELP_H
  91.       #define INCLUDE_MMSYSTEM_H
  92.     #endif   
  93.   #elif defined (__FORVISUAL__)
  94.     #include <memory.h>
  95.   #elif defined (__FORBORLAND__)
  96.     #include <mem.h>
  97.   #elif defined (__FORSYMANTEC__)
  98.     #include <mem.h>
  99.   #elif defined (__FORGCC__)
  100.     #define __FORSUNSPARC__ 
  101.     //#include <memory.h> 
  102.   #endif  
  103.  
  104.   // Byte Orientation
  105.   #if defined (__FORx86__)
  106.     #define __LSBFIRST__
  107.   #elif defined (__FORSUNSPARC__)
  108.     #define __MSBFIRST__
  109.   #endif 
  110.  
  111. #endif
  112.  
  113.